﻿using RESTFinder.Service.Models;
using System;
using System.Collections.Generic;

namespace RESTFinder.Service.Repositories
{
    public interface IDocumentRepository : IRepository<Models.DocumentModel>
    {
        DateTime GetLastWriteTime();
        bool Exist(string md5);
        void SaveDocument(string md5, string name, string extension, string contentType, string filePath, DateTime realDate);
        DocumentJsonModel Fetch(string md5);
        List<DocumentJsonModel> Fetch(string[] md5s);
    }
}
